package org.duiduo.constant;

/**
 * 常量
 */
public class BaseConstant {

    /**
     * 用户信息缓存 redis key
     */
    public static final String TB_USER_LIST_CACHE = "TbUserListCache";

    /**
     * 用户信息保存 lock锁
     */
    public static final String TB_USER_ADD_EDIT_LOCK = "TbUserAddEditLock";

    /**
     * Rabbitmq Direct直接交换器 queue name
     */
    public static final String DIRECT_QUEUE_NAME_1 = "testDirectQueue";
    public static final String DIRECT_QUEUE_NAME_2 = "testDirectQueue2";

    /**
     * Rabbitmq Direct直接交换器 绑定键
     */
    public static final String DIRECT_KEY_1 = "testDirectRouting";
    public static final String DIRECT_KEY_2 = "testDirectRouting2";

    /**
     * Rabbitmq Topic主题交换器 绑定键
     */
    public static final String MAN = "topic.man";
    public static final String WOMAN = "topic.woman";

    /**
     * Rabbitmq Fanout扇形交换器 queue name
     */
    public static final String FANOUT_A = "fanout.A";
    public static final String FANOUT_B = "fanout.B";
    public static final String FANOUT_C = "fanout.C";
}
